package com.gardenguell.salad.data.client;


import com.gardenguell.salad.app.Setting;

/**
 * Created by absurd on 2015/12/5.
 */
public interface Url {

    String HOST = "http://123.56.204.69:8080/";

    String SENSOR_DATA_GET = "sensor_data_get/";

    String FLAGS_GET = "flags_get/";

    String USERSET_GET = "userset_data_get/";


    /// latest api
    String LOGIN = "login/";

    String REGISTER = "register/";

    String MAC_INFO = "macinfo/";

    String GET_AUTO = "getauto/";

    String ADD_INSTANCE = "addinstance/";

    String FINISH_INSTANCE = "finishinstance/";

    String SET = "set/";

    String QUERY = "query/";

    String GET_MAC_LIST = "getmaclist/";

    String ADD_MAC_TO_USER = "addmactouser/";

    String REMOVE_MAC_FROM_USER = "removemacfromuser/";

    String CHANGE_AUTO = "changeauto/";




    public interface QueryKey{
        String MAC = "MAC";
        String CID = "cid";
        String TOKEN = "token";
        String USERNAME = "username";
        String PASSWORD = "password";
        String UNIT_DATA = "unit_data";
        String UNIT = "unit";
        String VALUE = "value";
    }

}
